package cn.fsd.vo;

import cn.fsd.domain.Task;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskBean extends Task {
    //客户表
    private String customer_name;//客户姓名
    //客户-地址表
    private String receiver_address;//投递地址
    //商品表
    private String commodity_name;//商品名称

    public TaskBean(Task task) {
        super(task.getTask_id(),task.getOrder_id(),task.getStation_id(),task.getTask_genDate(),task.getTask_finDate(),task.getTask_deliveryDate(),task.getTask_type(),task.getTask_status(),task.getCount_inTask(),task.getCourier_id());
    }
}
